import request from '@/utils/request'

export function findUser(roleFlag) {
  const params = {
    roleFlag: roleFlag
  }
  return request({
    url: 'api/users/transfer',
    method: 'get',
    params
  })
}

export function findUserPage(params) {
  return request({
    url: 'web/user/page-list',
    method: 'get',
    params
  })
}
export function getPostPageList(data) {
  return request({
    url: 'web/user/page-list',
    method: 'post',
    data
  })
}


export function createRel(data) {
  return request({
    url: 'web/user/create-rel',
    method: 'post',
    data
  })
}
